<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp" %>
<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
		<title>联系我们 - 卡尔信息</title>
		<!-- title部分信息 -->
		<%@ include file="/common/include/title.jsp" %>
		<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=D98c1bc5f5d1b641a0159b0d496cd677"></script>
	</head>
	<body>
		<!-- 导航 -->
		<%@ include file="/common/include/header.jsp" %>
		<!-- 广告 -->
		<div class="jumbotron adv">
			<img src="${rootPath}/img/news_adv.jpg" title="卡尔信息新闻资讯"  class="img-responsive">
		</div>
		<!-- 内容页面 -->
		<div class="container contact_body">
			<div class="row">
				<div class="col-md-4 col-md-offset-1 col-sm-4 col-xs-10">
					<h4>联系我们</h4>
					<div class="line"></div>
					<ul class="list-unstyled">
						<li>河南卡尔信息技术有限公司</li>
						<li>客服热线:0371-25636242</li>
						<li>周一至周五:08:30-17:30</li>
						<li>客服邮箱:Carl@carlinfo.com</li>
						<li>公司地址:河南省郑州市长椿路11号国家大学科技园研发5号楼A座21层</li>
					</ul>
				</div>
				<div class="col-md-4 col-sm-4 col-xs-10">
					<h4>在线地图</h4>
					<div class="line"></div>
					<!-- <img class="img-rounded img-responsive" src="img/address_map.png" title="卡尔信息地址" alt="卡尔信息地址"> -->
					<div id="allmap" class="map"></div>
				</div>
			</div>
		</div>
		<!-- 脚本 -->
		<%@ include file="/common/include/footer.jsp" %>
	</body>
</html>
<script type="text/javascript">
	// 百度地图API功能
	var map = new BMap.Map("allmap");
	var point = new BMap.Point(113.548438,34.796013);
	var marker = new BMap.Marker(point);  // 创建标注
	map.addOverlay(marker);              // 将标注添加到地图中
	map.centerAndZoom(point, 15);
	var opts = {
	  width : 250,     // 信息窗口宽度
	  height: 100,     // 信息窗口高度
	  title : "河南省国家大学科技园研发5号楼A座" , // 信息窗口标题
	  enableMessage:true,//设置允许信息窗发送短息
	  message:""
	}
	var infoWindow = new BMap.InfoWindow("地址：河南省郑州市中原区研发5号13幢(长椿路东)", opts);  // 创建信息窗口对象 
	marker.addEventListener("click", function(){          
		map.openInfoWindow(infoWindow,point); //开启信息窗口
	});
</script>